package com.ccb.lms.action;

import java.util.Map;
import org.apache.struts2.interceptor.SessionAware;
import com.opensymphony.xwork2.ActionSupport;

public class AbstractAction extends ActionSupport implements SessionAware{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	/**
	 * @author zhouxin.zh
	 */
	@SuppressWarnings("rawtypes")
	protected Map session;
	// 用于传递页面错误提示信息
	protected String actionErrorMessage;
	
	
	public void setSession(Map<String, Object> session) {
		this.session=session;
	}
	
	@SuppressWarnings("rawtypes")
	public Map getSession() {
		return this.session;
	}

	public String getActionErrorMessage() {
		return actionErrorMessage;
	}

	public void setActionErrorMessage(String actionErrorMessage) {
		this.actionErrorMessage = actionErrorMessage;
	}
	
	

}
